package com.yiyi.credit.manage.sso.service.inner;



import com.yiyi.credit.manage.sso.common.exception.ServiceException;
import com.yiyi.credit.manage.sso.model.dto.SysResourceDto;
import com.yiyi.credit.manage.sso.model.entity.SysRoleResource;

import java.util.List;
import java.util.Map;


public interface SysRoleResourceService {



    void assignSysRoleResource(Long sysInfoId, Long sysRoleId, String ids) throws ServiceException;


    List<SysRoleResource> getSysRoleResource(Long sysInfoId, Long sysRoleId) throws ServiceException;



    List<SysResourceDto> getSysRoleResourceTree(Long sysInfoId, Long sysRoleId) throws ServiceException;


    List<Map<String, Object>> getSysRoleColumnsTree(Long sysInfoId, Long sysRoleId) throws ServiceException;


    int addSysRoleResource(SysRoleResource sysRoleResource) throws ServiceException;


    int updateSysRoleResource(SysRoleResource sysRoleResource) throws ServiceException;


    void deleteSysRoleResourceByRoleId(Long sysRoleId) throws ServiceException;


    void deleteSysRoleResourceByResourceId(Long resourceId) throws ServiceException;

}
